<% content_for :action_nav do %>
  <div id="page-nav">
    <ul id="act-nav" class="clear">
      <li><%= link_to _("View themes"), :controller => 'themes' %></li>
      <li><%= link_to _("Edit templates"), :controller => 'templates' %></li>
    </ul>
  </div>
<% end %>

<%= form_tag({:action => 'import'}, {:multipart => true}) %>
<div class="group">
  <dl>
    <dt>
      <label for="theme_name"><%= _('Import a new theme') %></label>
      <p class="hint">
        <%= _("Themes are packaged as zip files.  Please select a valid zip file from your hard drive to upload. If you're interested in finding more themes, or have a new theme you'd like to release, please visit %{link} on the Mephisto Wiki.") % {:link => '<a href="http://mephisto.stikipad.com/help/show/Custom+Templates" target="_blank">the theme page</a>'} %> 
      </p>
      <p class="hint"><%= _("When you upload a theme, it will not be applied automatically.  You will need to do this through the %{link}") % {:link => link_to('themes interface', :controller => 'themes')} %>.</p>
    </dt>
    <dd><%= file_field_tag :theme %></dd>
  </dl>
</div>
<p class="btns">
  <%= submit_tag _('Import theme') %> or 
  <%= link_to _('cancel'), :controller => 'themes' %>
</p>
</form>